package com.ruoyi.project.sell.order.domain;

import com.ruoyi.project.sell.customer.domain.SellCustomer;

import java.sql.Date;

public class SellOrder {
    private Long orderId;    //订单编号
    private String itemName;    //项目名称
    private Integer collId;     //客户编号
    private Double orderNumber; //订单总金额
    private String userName; //销售id
    private Integer deptId; //部门主管id
    private Date createTime;    //创建时间
    private String paymentMethod;   //付款方式
    private String deliveryMethod;  //配送方式
    private String remark;  //备注
    private String orderCycle;  //项目周期
    private Integer orderSort;
    private SellCustomer sellCustomer;

    @Override
    public String toString() {
        return "SellOrder{" +
                "orderId=" + orderId +
                ", itemName='" + itemName + '\'' +
                ", collId=" + collId +
                ", orderNumber=" + orderNumber +
                ", userName='" + userName + '\'' +
                ", deptId=" + deptId +
                ", createTime=" + createTime +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", deliveryMethod='" + deliveryMethod + '\'' +
                ", remark='" + remark + '\'' +
                ", orderCycle='" + orderCycle + '\'' +
                ", orderSort=" + orderSort +
                ", sellCustomer=" + sellCustomer +
                '}';
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getCollId() {
        return collId;
    }

    public void setCollId(Integer collId) {
        this.collId = collId;
    }

    public Double getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Double orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getDeliveryMethod() {
        return deliveryMethod;
    }

    public void setDeliveryMethod(String deliveryMethod) {
        this.deliveryMethod = deliveryMethod;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderCycle() {
        return orderCycle;
    }

    public void setOrderCycle(String orderCycle) {
        this.orderCycle = orderCycle;
    }

    public Integer getOrderSort() {
        return orderSort;
    }

    public void setOrderSort(Integer orderSort) {
        this.orderSort = orderSort;
    }

    public SellCustomer getSellCustomer() {
        return sellCustomer;
    }

    public void setSellCustomer(SellCustomer sellCustomer) {
        this.sellCustomer = sellCustomer;
    }

    public SellOrder(Long orderId, String itemName, Integer collId, Double orderNumber, String userName, Integer deptId, Date createTime, String paymentMethod, String deliveryMethod, String remark, String orderCycle, Integer orderSort, SellCustomer sellCustomer) {
        this.orderId = orderId;
        this.itemName = itemName;
        this.collId = collId;
        this.orderNumber = orderNumber;
        this.userName = userName;
        this.deptId = deptId;
        this.createTime = createTime;
        this.paymentMethod = paymentMethod;
        this.deliveryMethod = deliveryMethod;
        this.remark = remark;
        this.orderCycle = orderCycle;
        this.orderSort = orderSort;
        this.sellCustomer = sellCustomer;
    }

    public SellOrder() {
    }
}
